package com.System.LearnSystem;
import java.sql.Timestamp;
import com.fasterxml.jackson.annotation.JsonIgnore;

public class User {

	protected Long id;//用户id
	protected String username;//用户名
	protected String password;//密码
	protected String role;//身份
	protected Timestamp createTime;//创建时间
	protected Timestamp updateTime;//更新时间
	protected Integer status;//状态(0-正常,1-禁用)
	public User()
	{
		
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	@JsonIgnore
	public String getPassword() {
		return password;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	@JsonIgnore
	public Timestamp getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Timestamp timestamp) {
		this.createTime = timestamp;
	}
	@JsonIgnore
	public Timestamp getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Timestamp timestamp) {
		this.updateTime = timestamp;
	}
	@JsonIgnore
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	
}

 
